<include file="Public/header"/>
<body>
 <header>
      <div class="tab_nav">
        <div class="header">
          <div class="h-left"><a class="sb-back" href="javascript:history.back(-1)" title="返回"></a></div>
          <div class="h-mid"><img src="__STATIC__/images/toplogo.png">奖金提现</div>
          <div class="h-right">
            <aside class="top_bar">
              <div onClick="show_menu();$('#close_btn').addClass('hid');" id="show_more"><a href="javascript:;"></a> </div>
            </aside>
          </div>
        </div>
      </div>
</header>
<include file="Public/menu"/>
<div id="tbh5v0">
<div class="liuyan">
      <section class="innercontent1">
        <form action="" method="post" enctype="multipart/form-data" name="formMsg" onSubmit="return submitMsg()">
          <div>
            <div class="form_search"><span>呢称：{$user.nickname}</span> &nbsp<span>账号：{$user.account}</span>
            </div>
            <div class="form_search"><span>分享积分: {$user.share_points|default="0.00"}</span>
            </div>
          </div>
          <label for="msg_title">
          <div class="field_else">
          <span>手机：</span>
              <input type="text" name="mobile" id="mobile" placeholder="手机" readonly value="{$user.mobile}" />
          </div>
          </label>
          <label for="msg_title">
          <div class="field_else">
          <span>提现金额:</span>
              <input type="text" id="money" name="money"  placeholder="最少提现额度{$tpshop_config['shopping_tikuan_1']}" onpaste="this.value=this.value.replace(/[^\d.]/g,'')" onKeyUp="this.value = this.value.replace(/[^\d.]/g, '')"/>
          </div>
          </label>
          <label for="msg_title">
          <div class="field_else">
          <span>开户银行：</span>
              <input id="bank_name" name="bank_opening" type="text" value="{$user.bank_opening}" readonly>
          </div>
          </label>
          <label for="msg_title">
          <div class="field_else">
          <span>分行支行：</span>
              <input name="bank_address" value="{$user.bank_address}" readonly  type="text">
          </div>
          </label>
          <label for="msg_title">
          <div class="field_else">
          <span>开户姓名：</span>
              <input id="account_name" name="bank_name" type="text" value="{$user.bank_name}" readonly>
          </div>
          </label>
          <label for="msg_title">
          <div class="field_else">
          <span>银行账号：</span>
              <input  id="account_bank" name="bank_account" type="text" value="{$user.bank_account}" readonly>
          </div>
          </label>
          <label for="msg_title">
          <div class="field_else">
          <span>交易密码：：</span>
              <input id="secpwd" name="secpwd" type="password" >
          </div>
          </label>
          <div style=" padding-bottom:10px;">
          <p style="font-size: 16px;
    line-height: 25px;
    color: red;">提现须知：请仔细核对所列的账户资料是否存在误填，如需修改请【<b><a href="{:U('mobile/User/userinfo')}">前往这里</a></b>】</p>
            <input type="submit" value="提交" class="btn_big1"/>
          </div>
        </form>
      </section>

</div>

<script>

function submitMsg() {
  var frm = document.forms['formMsg'];
  var msg_title = frm.elements['msg_title'].value;
  var msg_content = frm.elements['msg_content'].value;
  var msg = '';
  if (msg_title.length == 0) {
    alert('留言标题不能为空');
    return false
  }
  if (msg_content.length == 0) {
    alert('留言内容不能为空');
    return false
  }
  if (msg_title.length > 100) {
    alert('标题不能超过100字符');
    return false
  }
  if ($.trim($('#verify_code').val()).length == 0) {
    alert('验证码不能为空');
    return false
  }
  
  
  return true;
}
</script>
<include file="Public/footer"/>
</div>
<include file="Public/footer_nav"/>
</body>
</html>